<html>
  <head>
    <title>Edit User</title>
   	<script src="./lib/jquery.js" ></script>
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<link rel="stylesheet" href="./lib/jquery.mobile-1.1.1.min.css" />
	<script src="./lib/jquery-1.7.1.min.js"></script>
	<script language="JavaScript" SRC="config.js"></script>
	<script src="./lib/jquery.mobile-1.1.1.min.js"></script>
	<script type="text/javascript" charset="utf-8">
	 var query = window.location.search;
  // Skip the leading ?, which should always be there, 
  // but be careful anyway
  if (query.substring(0, 1) == '?') {
    query = query.substring(1);
  }
  var data = query.split(','); 
   alert(data[0]);
  for (i = 0; (i < data.length); i++) {
    data[i] = unescape(data[i]);
    data[i]=data[i].replace('userid=','');
  }
 function get(){
	 var form=document.forms["form"];
	 if(form.from.value=='')
		 {
		 alert("Title email is not null")
		 }
	 else if(form.fromname.value='')
		 {
		 alert("From Name is not null")
		 }
	 else 
		 {
 		
		 }
    };
    </script>
  </head>
<body>

<div data-role="page" id="header">
<div data-role="header">
<a href="index.html" data-role="button" data-icon="home" data-iconpos="notext" rel="external">Home</a>
<h1>Email All Member</h1>
</div>
<div data-role="content">
<form name="form" id="form">
	<p>Title </p>
    <input type="text" name="title" id="title">
    <p>Content</p>
    <TEXTAREA name="content" id="content"></textarea>
    <input type="button" value="Send Mail" onClick="get();">
</form>
</div>
<div data-role="footer">
<h4>Footer</h4>

</div>
</body>
</html>